API
POST
/api/auth/login - Accepts userName and password, returns userName if the login is in the database and the password matches it
/api/auth/reg - Accepts userName and password. After this, it creates a user and returns the status 200.
/api/ai - accepts an array of objects with type messagesToAI after this call to AI and returns string
